﻿<?xml version="1.0"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Blazing.BusinessObjects" namespace="Blazing.BusinessObjects.Cms" >
  <class name="FeedbackItem" table="feedbackitems" lazy="true" dynamic-insert="true" dynamic-update="true">

    <id name="ID" column="feedbackitemid" type="Int32">
      <generator class="native" />
    </id>
    <timestamp column="rowstamp" name="RowStamp" />

    <property name="Name" length="100" not-null="true" />
    <property name="Content" type="StringClob" length="4000" not-null="true" />
    <many-to-one name="UserSession" column="staticsticsessionid" class="StatisticSession" />
    <property name="IsApproved" column="approved" type="Boolean" not-null="true" />
    
    <property name="UserName" length="255" not-null="true" />
    <property name="UserEmail" length="255" />
    <property name="UserUrl" length="255" />
    <property name="UserRating" type="Int32" />
    <property name="CreatedDate" type="DateTime" not-null="true" />

  </class>
</hibernate-mapping>
